﻿<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2006"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" mc:Ignorable="d"
    xmlns:igCA="http://infragistics.com/Chart"
    >
	<!-- Shared Resources-->
	<Color x:Key="StartColor">#FFD70005</Color>
	<Color x:Key="EndColor">#FF076CB0</Color>
	<Color x:Key="ExtraColor">#BFFFFFFF</Color>
	<Color x:Key="SelectionColor">#00FFFFFF</Color>
	<SolidColorBrush x:Key="ExtraBrush" Color="{StaticResource ExtraColor}"/>
	<SolidColorBrush x:Key="StartBrush" Color="{StaticResource StartColor}"/>
	<SolidColorBrush x:Key="EndBrush" Color="{StaticResource EndColor}"/>
	<SolidColorBrush x:Key="SelectionBrush" Color="{StaticResource SelectionColor}"/>
	<!-- XamChart -->
	<Style x:Key="XamChartStyle" TargetType="{x:Type igCA:XamChart}">
		<Setter Property="StartPaletteBrush" Value="{StaticResource StartBrush}"/>
		<Setter Property="EndPaletteBrush" Value="{StaticResource EndBrush}"/>
		<Setter Property="MaxHeight" Value="500"/>
		<Setter Property="MaxWidth" Value="700"/>
	</Style>
	<!-- Caption -->
	<Style x:Key="CaptionStyle" TargetType="{x:Type igCA:Caption}">
		<Setter Property="Foreground" Value="#00FFFFFF"/>
		<Setter Property="FontFamily" Value="/xamFeatureBrowserResources;Component/fonts/#Avenir"/>
		<Setter Property="FontSize" Value="24"/>
		<Setter Property="FontWeight" Value="Bold" />
	</Style>
	<!-- Marker -->
	<Style x:Key="Marker1" TargetType="{x:Type igCA:Marker}">
		<Setter Property="Fill" Value="Transparent"/>
		<Setter Property="Stroke" Value="Transparent"/>
		<Setter Property="MarkerSize" Value=".1"/>
		<Setter Property="Foreground" Value="Transparent"/>
		<Style.Triggers>
			<EventTrigger RoutedEvent="igCA:XamChart.Loaded">
				<EventTrigger.Actions>
					<BeginStoryboard>
						<BeginStoryboard.Storyboard>
							<Storyboard>
								<ColorAnimation
								  Duration="00:00:01.25"
								  BeginTime="00:00:00.25"
								  Storyboard.TargetProperty="Fill.Color"
								  From="Transparent"
								  To="White" />
								<ColorAnimation
								  Duration="00:00:01.25"
								  BeginTime="00:00:00.25"
								  Storyboard.TargetProperty="Stroke.Color"
								  From="Transparent"
								  To="Black" />
								<ColorAnimation
								  Duration="00:00:01.25"
								  BeginTime="00:00:00.25"
								  Storyboard.TargetProperty="Foreground.Color"
								  From="Transparent"
								  To="#FF4B4B4B" />
							</Storyboard>
						</BeginStoryboard.Storyboard>
					</BeginStoryboard>
				</EventTrigger.Actions>
			</EventTrigger>
		</Style.Triggers>
	</Style>
	<!-- Bubble Chart DataTemplate-->
	<DataTemplate DataType="{x:Type igCA:BubbleChartTemplate}">
		<DataTemplate.Resources>
			<Storyboard x:Key="MouseOverHighlight">
				<DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="path" Storyboard.TargetProperty="(UIElement.Opacity)">
					<SplineDoubleKeyFrame KeyTime="00:00:00.3000000" Value="0.65"/>
				</DoubleAnimationUsingKeyFrames>
				<ColorAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="path1" Storyboard.TargetProperty="(Shape.Fill).(GradientBrush.GradientStops)[1].(GradientStop.Color)">
					<SplineColorKeyFrame KeyTime="00:00:00.3000000" Value="#26FFFFFF"/>
				</ColorAnimationUsingKeyFrames>
				<PointAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="path" Storyboard.TargetProperty="(Shape.Fill).(LinearGradientBrush.EndPoint)">
					<SplinePointKeyFrame KeyTime="00:00:00.3000000" Value="0.496,0.482"/>
				</PointAnimationUsingKeyFrames>
				<PointAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="path" Storyboard.TargetProperty="(Shape.Fill).(LinearGradientBrush.StartPoint)">
					<SplinePointKeyFrame KeyTime="00:00:00.3000000" Value="0.475,1.066"/>
				</PointAnimationUsingKeyFrames>
			</Storyboard>
		</DataTemplate.Resources>
		<Viewbox>
			<Grid
				Height="{Binding Path=Height}"
				Width="{Binding Path=Width}"
				Background="Transparent">
				<Grid
					Width="144.0000171661377"
					Height="146.9999008178711"
					Opacity="1"
					Margin="19.999998092651367,18.000038146972656,0,0"
					HorizontalAlignment="Left"
					VerticalAlignment="Top">
					<Path
						Margin="0,0,0,0"
						HorizontalAlignment="Left"
						VerticalAlignment="Top"
						Height="146.9999008178711"
						Width="144.0000171661377"
						Stretch="Fill"
						Opacity="1"
						Data="M 1.7714862823486328,56.28490447998047 C10.507722854614258,16.796043395996094 49.08151435852051,-7.496009826660156 87.91537666320801,2.0909347534179688 126.75079536437988,11.677391052246094 151.03729438781738,51.486839294433594 142.17639350891113,90.94634246826172 133.33075141906738,130.33550262451172 94.79159736633301,154.4677963256836 56.08117866516113,144.91051483154297 17.371980667114258,135.35387420654297 -6.948545455932617,95.7032699584961 1.7714862823486328,56.28490447998047 z"
						Fill="{Binding Path=Fill}" />
					<Path
						Margin="0,0,0,0"
						HorizontalAlignment="Stretch"
						VerticalAlignment="Stretch"
						Height="Auto"
						Width="Auto"
						Stretch="Fill"
						Opacity="0.45"
						Data="M 1.7714862823486328,56.28490447998047 C10.507722854614258,16.796043395996094 49.08151435852051,-7.496009826660156 87.91537666320801,2.0909347534179688 126.75079536437988,11.677391052246094 151.03729438781738,51.486839294433594 142.17639350891113,90.94634246826172 133.33075141906738,130.33550262451172 94.79159736633301,154.4677963256836 56.08117866516113,144.91051483154297 17.371980667114258,135.35387420654297 -6.948545455932617,95.7032699584961 1.7714862823486328,56.28490447998047 z"
							>
						<Path.Fill>
							<RadialGradientBrush>
								<GradientStop Color="#00000000" Offset="0.835"/>
								<GradientStop Color="#FF000000" Offset="1"/>
							</RadialGradientBrush>
						</Path.Fill>
					</Path>
					<Path
						Margin="3.6978816986083984,9.18100357055664,0,0"
						HorizontalAlignment="Left"
						VerticalAlignment="Top"
						Height="134.4857521057129"
						Width="137.46917343139648"
						Stretch="Fill"
						Opacity="0.65"
						Data="M 6.85319709777832,46.705162048339844 C-6.22529411315918,99.4701156616211 23.483583450317383,133.57506561279297 56.77624702453613,141.7943344116211 90.06857490539551,150.01433563232422 135.99615669250488,131.65258026123047 140.83252143859863,77.12853240966797 148.565523147583,-10.070533752441406 19.795991897583008,-5.512977600097656 6.85319709777832,46.705162048339844 z" x:Name="path">
						<Path.Fill>
							<LinearGradientBrush
								StartPoint="0.499,1.163"
								EndPoint="0.531,0.655">
								<LinearGradientBrush.GradientStops>
									<GradientStopCollection>
										<GradientStop
											Color="#FFffffff"
											Offset="0" />
										<GradientStop
											Color="#00FFFFFF"
											Offset="1" />
									</GradientStopCollection>
								</LinearGradientBrush.GradientStops>
							</LinearGradientBrush>
						</Path.Fill>
					</Path>
					<Path
						Margin="7.650897979736328,6.194295883178711,0,0"
						HorizontalAlignment="Left"
						VerticalAlignment="Top"
						Height="81.17484474182129"
						Width="127.05314445495605"
						Stretch="Fill"
						Opacity="1"
						Data="M 7.659456253051758,70.52281951904297 C7.113893508911133,36.76720428466797 32.71365547180176,7.548667907714844 66.78253364562988,6.243064880371094 100.85266304016113,4.937614440917969 134.70404243469238,29.98046112060547 134.70404243469238,64.53380584716797 134.70404243469238,78.01448822021484 8.216676712036133,105.0223617553711 7.659456253051758,70.52281951904297 z" x:Name="path1">
						<Path.Fill>
							<RadialGradientBrush GradientOrigin="0.333,0.256">
								<RadialGradientBrush.RelativeTransform>
									<TransformGroup>
										<ScaleTransform CenterX="0.5" CenterY="0.5" ScaleX="1.146" ScaleY="1.146"/>
										<SkewTransform AngleX="0" AngleY="0" CenterX="0.5" CenterY="0.5"/>
										<RotateTransform Angle="0" CenterX="0.5" CenterY="0.5"/>
										<TranslateTransform X="-0.136" Y="-0.098"/>
									</TransformGroup>
								</RadialGradientBrush.RelativeTransform>
								<GradientStop Color="#CCFFFFFF" Offset="0"/>
								<GradientStop Color="#26FFFFFF" Offset="1"/>
							</RadialGradientBrush>
						</Path.Fill>
					</Path>
				</Grid>
			</Grid>
		</Viewbox>
		<DataTemplate.Triggers>
			<Trigger Property="IsMouseOver" Value="True">
				<Trigger.EnterActions>
					<BeginStoryboard Storyboard="{StaticResource MouseOverHighlight}" x:Name="MouseOverHighlight_BeginStoryboard"/>
				</Trigger.EnterActions>
				<Trigger.ExitActions>
					<StopStoryboard BeginStoryboardName="MouseOverHighlight_BeginStoryboard"/>
				</Trigger.ExitActions>
			</Trigger>
		</DataTemplate.Triggers>
	</DataTemplate>
	<!-- DataPoint Template ColomnChart-->
	<DataTemplate DataType="{x:Type igCA:ColumnChartTemplate}">
		<DataTemplate.Resources>
			<Storyboard x:Key="MoveOverLighten">
				<ColorAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="border1" Storyboard.TargetProperty="(Panel.Background).(GradientBrush.GradientStops)[1].(GradientStop.Color)">
					<SplineColorKeyFrame KeyTime="00:00:00.3000000" Value="#7FFFFFFF"/>
				</ColorAnimationUsingKeyFrames>
			</Storyboard>
		</DataTemplate.Resources>
		<Grid x:Name="LegendControl" ToolTip="{Binding Path=ToolTip}" >
			<Grid>
				<Grid.ColumnDefinitions>
					<ColumnDefinition Width="0.61*"/>
					<ColumnDefinition Width="0.39*"/>
				</Grid.ColumnDefinitions>
				<Border HorizontalAlignment="Stretch" Width="Auto" Grid.ColumnSpan="2" Background="{Binding Path=Fill}" BorderBrush="{x:Null}" BorderThickness="0,0,0,0" CornerRadius="3,3,0,0" Grid.RowSpan="1"/>
				<Border Width="Auto" BorderBrush="{x:Null}" BorderThickness="0,0,0,0" CornerRadius="3,0,0,0" HorizontalAlignment="Stretch" Margin="1,1,0,1" Grid.ColumnSpan="1" Grid.RowSpan="1" VerticalAlignment="Stretch" Height="Auto" Opacity="0.5" x:Name="border">
					<Border.Background>
						<LinearGradientBrush EndPoint="1.13,0.5" StartPoint="0.059,0.5">
							<GradientStop Color="#F2FFFFFF" Offset="0"/>
							<GradientStop Color="#0CFFFFFF" Offset="0.995"/>
						</LinearGradientBrush>
					</Border.Background>
				</Border>
				<Border HorizontalAlignment="Stretch" Width="Auto" BorderBrush="{x:Null}" BorderThickness="0,0,0,0" CornerRadius="3,3,0,0" Grid.ColumnSpan="2" x:Name="border1">
					<Border.Background>
						<LinearGradientBrush EndPoint="1,0.5" StartPoint="0,0.5">
							<GradientStop Color="#00FFFFFF" Offset="0.652"/>
							<GradientStop Color="#4CFFFFFF" Offset="1"/>
						</LinearGradientBrush>
					</Border.Background>
				</Border>
			</Grid>
		</Grid>
		<DataTemplate.Triggers>
			<Trigger Property="IsMouseOver" Value="True">
				<Trigger.EnterActions>
					<BeginStoryboard Storyboard="{StaticResource MoveOverLighten}" x:Name="MoveOverLighten_BeginStoryboard"/>
				</Trigger.EnterActions>
				<Trigger.ExitActions>
					<StopStoryboard BeginStoryboardName="MoveOverLighten_BeginStoryboard"/>
				</Trigger.ExitActions>
			</Trigger>
		</DataTemplate.Triggers>
	</DataTemplate>
	<!-- Axis Labels -->
	<Style x:Key="Labels" TargetType="{x:Type igCA:Label}">
		<Setter Property="Foreground" Value="Transparent"/>
		<Setter Property="FontFamily" Value="/xamFeatureBrowserResources;Component/fonts/#Avenir"/>
		<Setter Property="FontSize" Value="14"/>
	</Style>
	<!-- Axis Labels Animated-->
	<Style x:Key="AnimationLabelsStyle" TargetType="{x:Type igCA:Label}" BasedOn="{StaticResource Labels}">
		<Setter Property="Foreground" Value="Transparent"/>
		<Style.Triggers>
			<EventTrigger RoutedEvent="FrameworkElement.Loaded">
				<EventTrigger.Actions>
					<BeginStoryboard>
						<BeginStoryboard.Storyboard>
							<Storyboard>
								<ColorAnimation
								  Duration="00:00:00.25"
								  BeginTime="00:00:00.25"
								  Storyboard.TargetProperty="Foreground.Color"
								  From="Transparent"
								  To="#FF4B4B4B" />
							</Storyboard>
						</BeginStoryboard.Storyboard>
					</BeginStoryboard>
				</EventTrigger.Actions>
			</EventTrigger>
		</Style.Triggers>
	</Style>
	<!-- Axis Mark -->
	<Style x:Key="AxisMark"  TargetType="{x:Type igCA:Mark}">
		<Setter Property="Stroke" Value="#FFECE6D9"/>
	</Style>
	<!-- Animation Axis Mark -->
	<Style x:Key="MarkAnimation" TargetType="{x:Type igCA:Mark}">
		<Setter Property="Stroke" Value="Transparent"/>
		<Style.Triggers>
			<EventTrigger RoutedEvent="FrameworkElement.Loaded">
				<EventTrigger.Actions>
					<BeginStoryboard>
						<BeginStoryboard.Storyboard>
							<Storyboard>
								<ColorAnimation
								  Duration="00:00:00.25"
								  BeginTime="00:00:00.25"
								  Storyboard.TargetProperty="Stroke.Color"
								  From="Transparent"
								  To="#FFECE6D9" />
							</Storyboard>
						</BeginStoryboard.Storyboard>
					</BeginStoryboard>
				</EventTrigger.Actions>
			</EventTrigger>
		</Style.Triggers>
	</Style>
</ResourceDictionary>